from tkinter import *
x = int(input())
y = int(input())
n = int(input())
if n >= 25 or x >= 50 or y >= 50:
    print ("Размер фигуры привышает максмальный размер")
else:
    b = [0*n+x,0*n+y,40*n+x,0*n+y,40*n+x,40*n+y,80*n+x,40*n+y,80*n+x,80*n+y,40*n+x,80*n+y,0*n+x,80*n+y,40*n+x,80*n+y,40*n+x,120*n+y,0*n+x,120*n+y]
    root = Tk ()
    root.title ("ИТ-марафет")
    root.geometry ("500x500")
    canvas = Canvas (bg = "white" , width = 500, height = 500)
    canvas.pack (anchor = CENTER, expand = 1)
    canvas.create_polygon (b, fill = "blue")
    root.mainloop()
